package com.wm.exam.service.impl;

import com.wm.exam.dao.TimeMapper;
import com.wm.exam.pojo.Time;
import com.wm.exam.service.TimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TimeServiceImpl implements TimeService {
    @Autowired
    private TimeMapper timeMapper;

    @Override
    public List<Time> getByStatus() {

        return timeMapper.getByStatus();
    }
}
